<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<parent></parent>
		</div>
		<template id="temp">
			<div>
				<my-child1></my-child1>
				<my-child2></my-child2>
			</div>
		</template>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script>
			var Child1 = {
				template: "<div><input type='text' /></div>"
			}
			var Child2 = {
				template: "<p><input type='date' /></p>"
			}
			Vue.component('parent', {
				components: {
					'my-child1': Child1,
					'my-child2': Child2
				},
				template: '#temp'
			});
			var app = new Vue({
				el: '#app',

			});
		</script>

	</body>
</html>
